home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Sound Cards
/
Programming Sound Cards.iso
/
sound_14
/
direct.doc
< prev
next >
Wrap
Text File
|
1995-01-01
|
872b
|
45 lines
/*
Turbo C Direct Access Interface
by Joel Lucsy
Vroom-Diggy-Diggy Software, (c) 1991
Defined Macros:
SBOK Return value indicating success from reset_dsp.
Functions Defined For Direct Access:
int reset_dsp(void)
-Resets the DSP. Do this before calling any direct access routines.
-Returns SBOK if able to reset.
int read_data(void)
-Returns data from D-A converter.
void write_data(void)
-Writes data to the A-D converter.
-Speaker_on must be called first in order to hear the sound.
void speaker_on(void)
-Turns on the speaker.
void speaker_off(void)
-Turns off the speaker.
void asmdelay(int delay)
-A delay for timing output, more usefull than Turbo C's delay.
** Sound Blaster is a copyright of Creative Labs, Inc. **
*/